package flatlandRPG;

// -------------------------------------------------------------------------
/**
 * An interface to define objects solid objects and determine if they have
 * collided with a movable object.
 *
 * @author evant
 * @version Apr 17, 2011
 */
public interface ISolid
{
    // ----------------------------------------------------------
    /**
     * Determines if the solid object has collided with the movable object.
     *
     * @param object
     *            the movable object
     * @return true if there is a collision, false otherwise
     */
    boolean collidedWith(IMoveable object);
}
